﻿using System;

namespace Scrum.Net.Interfaces
{
    /// <summary>
    /// Goals of a Sprint
    /// </summary>
    public interface ISprintGoal
    {
        /// <summary>
        /// Name of the goal
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// Description of the goal
        /// </summary>
        string Description { get; set; }
    }

    public class SprintGoal : ISprintGoal
    {
        private string _name;
        private string _description;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public SprintGoal(string name, string description)
        {
            Name = name;
            Description = description;
        }
    }
}